package my.poemhelper.bo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import my.poemhelper.dao.WordsDao;
import my.poemhelper.vo.Words;

@Component
public class WordsBoImpl implements WordsBo {

	@Autowired
	WordsDao wordsDao;
	@Override
	public void insertWords(Words w) {
		wordsDao.insertWords(w);
	}
	@Override
	public int getWordsCount() {
		return wordsDao.getWordsCount();
	}

	
}
